package homework4CalculateArea;

public class Triangle extends Shape {
	public Triangle() {
		
	}
	
	public Triangle(double sideLong, double sideShort) {
		name = "Triangle";
		this.sideLong = sideLong;
		this.sideShort = sideShort;
		area = sideLong * sideShort / 2.0;

	}
	
}
